package com.tmrnavi.myapplication;

import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebView;

public class AboutActivity extends AppCompatActivity {

    private static WebView web_about;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about);

        String path = "file:///android_asset/index.html";

        web_about = findViewById(R.id.web_about);
        web_about.getSettings().setAllowUniversalAccessFromFileURLs(true);
        web_about.getSettings().setAllowFileAccessFromFileURLs(true);
        web_about.getSettings().setAllowFileAccess(true);
        web_about.loadUrl(path);
    }
}